cmake_minimum_required(VERSION 3.15)
project(Matching.network)

message(STATUS "source:" ${PROJECT_SOURCE_DIR})
message(STATUS "lib    :" ${PROJECT_BINARY_DIR}/lib)

set (CMAKE_BUILD_TYPE Debug)
set (CMAKE_CXX_STANDARD 11)
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -Wall -g -ggdb")

FILE(GLOB SRC_FILE_LIST "*.cpp")
add_library(network STATIC ${SRC_FILE_LIST})

install(TARGETS network ARCHIVE DESTINATION lib)